package com.java2207.group1.mapper;

import com.java2207.group1.pojo.Hospitalized;
import com.java2207.group1.vo.hospitalized.BerVo;
import com.java2207.group1.vo.hospitalized.PieVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 15319 2022/7/27 17:28
 */
public interface HospitalizedMapper {

    List<Hospitalized> hospitalizedListPage(Map<String, Object> params);

    int hospitalizedUpdate(Hospitalized hospitalized);

    Hospitalized hospitalizedById(Integer id);

    int hospitalizedAdd(Hospitalized hospitalized);

    int hospitalizedDeleteByIds(@Param("ids") String[] ids);

    List<BerVo> setBarDate();

    List<PieVo> setPieDate();

    int hospitalizedDelete(Integer id);
}
